home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…rary 7 (Internal Edition) / Apple R&P Lib Internal v7.0.iso / 5-Fonts & Software / Demo Software / Aldus PageMaker 4.0 Demo / Aldus / APDs / PrintServer 40.apd < prev    next >
Text File  |  1990-05-16  |  11KB  |  264 lines

  1. @Comment: "PrintServer 40.apd" for the DEC PrintServer 40 printer.
  2. @Comment: Aldus Printer Description (APD) file 
  3. @Comment:     $Revision:   1.3  $
  4. @Comment:     $Date:   09 Jun 1988 16:00:06  $
  5. @Comment: This APD produced for use with Aldus PageMaker 2.0, 2.0a, and 3.0
  6. @Comment: Keyword values are currently limited to 255 characters in length.
  7.  
  8. @FormatVersion: "1.0"
  9. @Product: "(PrintServer 40)"
  10. @PSVersion: "(47.2)"
  11. @PSRevision: "0"
  12.  
  13. @Resolution: "300 300"
  14.  
  15. @AllowComments: "true"
  16. @AllowVMQuery: "true"
  17.  
  18. @Comment:  "FreeVM" value is equivalent to vmstatus "maximum" minus "used" values
  19. @Comment: Limit VM when printing to file, to not exceed save-level limit for downloaded fonts:
  20. @FreeVM: "350000"
  21. @Comment: Actual value is @FreeVM: "409700"
  22. @WorkingMem: "25000"
  23. @AldusHeaderMem: "34000"
  24. @Comment: Example of declaration of a downloadable font's memory requirement:
  25. @Comment: @FontMem "Benjo-Light": "82600"
  26.  
  27. @Comment: PatchFile is sent right after %%EndComments, AldusPatchFile right before %%EndSetup.
  28. @PatchFile: "userdict /AldusDict known {(A previous version PageMaker header is loaded.) = flush} if"
  29. @AldusPatchFile: ""
  30.  
  31. @Comment: Do not include ExitServer or Password keywords, so that header is not loaded permanently.
  32.  
  33. @DefaultScreenFreq: ""
  34. @DefaultScreenAngle: ""
  35. @DefaultScreenProc: ""
  36.  
  37. @ScreenFreq: ""
  38. @ScreenAngle: ""
  39. @ScreenProc: ""
  40.  
  41. @InvertScreenProc: "{abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul 
  42. add 1 exch sub}{dup mul exch dup mul add 1 sub} ifelse}"
  43. @End
  44. @Transfer: ""
  45. @InvertTransfer: "{1 exch sub}"
  46.  
  47. @NormalizedTransfer: "{
  48. mark
  49. 1.0 1.0 .84 .74 .68 .61 .54 .47 .42 .31 .24 .0
  50. counttomark dup 3 add -1 roll exch
  51. 2 sub mul dup floor cvi
  52. dup 3 1 roll sub
  53. exch dup 
  54. 3 add index exch 2 add index dup
  55. 4 1 roll
  56. sub mul add
  57. counttomark 1 add 1 roll 
  58. cleartomark
  59. } bind"
  60. @End
  61.  
  62. @InvertNormalizedTransfer: "{
  63. mark
  64. .0 .0 .24 .31 .42 .47 .54 .61 .68 .74 .84 1.0
  65. counttomark dup 3 add -1 roll exch
  66. 2 sub mul dup floor cvi
  67. dup 3 1 roll sub
  68. exch dup 
  69. 3 add index exch 2 add index dup
  70. 4 1 roll
  71. sub mul add
  72. counttomark 1 add 1 roll 
  73. cleartomark
  74. } bind"
  75. @End
  76.  
  77. @Comment: Allows an optional file system:
  78. @?FontList: "save FontDirectory { pop = flush } forall
  79. systemdict /filenameforall known {userdict /SC 100 string put
  80. (fonts/*) {dup length 6 sub 6 exch getinterval = flush} SC filenameforall} if
  81. (*) = flush restore"
  82. @End
  83. @?FontQuery: ""
  84.  
  85. @Comment: "vmstatus" may not give meaningful results on this printer.
  86. @?VMStatus: "vmstatus 3 -1 roll dup 10 gt
  87. {3 1 roll exch pop dup} {3 1 roll} ifelse == == == flush"
  88. @End
  89.  
  90. @?OutputOrder: "pagestackorder {(facedown)}{(faceup)} ifelse = flush"
  91.  
  92. @Comment: Paper tray query compares returned value with selected PageSize,
  93. @Comment:    up to length of returned value only: i.e, "A4" matches "A4small"
  94. @Comment: "papersize" gives the state of a switch on the back of the printer:
  95. @?PaperTray: "mark () statusdict /papersize get exec pop
  96.  dup length dup 4 gt {4 sub 0 exch getinterval} {pop pop} ifelse
  97.  = flush cleartomark"
  98. @End
  99.  
  100. @Comment: PageSize options appear in the "Paper" list box in the Printer-specific dialog.
  101. @Comment: PageSize PS operators are executed when manual feed is selected;
  102. @Comment:    otherwise PageTray operators are executed.  These operators select
  103. @Comment:    the wide-edge-first orientation for manual feed, for paper
  104. @Comment:    sized for which there is a choice, (ie “letter” vs “letterR”).
  105. @DefaultPageSize:     "Letter"
  106. @PageSize Letter:     "statusdict begin lettertray end"
  107. @PageSize Legal:     "statusdict begin legaltray end"
  108. @PageSize Tabloid:     "statusdict begin 11x17tray end"
  109. @PageSize A3:         "statusdict begin a3tray end"
  110. @PageSize A4:         "statusdict begin a4tray end"
  111. @PageSize A5:         "statusdict begin a5tray end"
  112. @PageSize B4:         "statusdict begin b4tray end"
  113. @PageSize B5:         "statusdict begin b5tray end"
  114.  
  115. @PaperTray Letter:     "statusdict begin lettertray end"
  116. @PaperTray Legal:     "statusdict begin legaltray end"
  117. @PaperTray Tabloid: "statusdict begin 11x17tray end"
  118. @PaperTray A3:         "statusdict begin a3tray end"
  119. @PaperTray A4:         "statusdict begin a4tray end"
  120. @PaperTray A5:         "statusdict begin a5tray end"
  121. @PaperTray B4:         "statusdict begin b4tray end"
  122. @PaperTray B5:         "statusdict begin b5tray end"
  123.  
  124. @Comment: PageRegion gives the printable area of each paper option.
  125. @PageRegion Letter:     "19.80 15.84 592.20 776.16"
  126. @PageRegion Legal:         "18.00 18.00 594.00 990.00"
  127. @PageRegion Tabloid:     "15.84 18.00 776.16 1206.00"
  128. @PageRegion A3:         "17.72 20.27 824.17 1170.28"
  129. @PageRegion A4:         "18.00 17.72 577.27 824.17"
  130. @PageRegion A5:         "17.72 18.00 401.81 577.27"
  131. @PageRegion B4:         "18.71 14.74 709.79 1017.07"
  132. @PageRegion B5:         "19.84 18.71 496.06 709.79"
  133.  
  134. @Comment: PaperDimension gives the total paper size of each option.
  135. @PaperDimension Letter:     "612 792"
  136. @PaperDimension Legal:         "612 1008"
  137. @PaperDimension Tabloid:     "792 1224"
  138. @PaperDimension A3:         "841.89 1190.55"
  139. @PaperDimension A4:         "595.28 841.89"
  140. @PaperDimension A5:         "419.53 595.28"
  141. @PaperDimension B4:         "728.50 1031.81"
  142. @PaperDimension B5:         "498.90 708.66"
  143.  
  144. @Comment: Setting the “papertray” value directly selects an input slot
  145. @Comment:    without resetting the image area;
  146. @Comment:    Using the “setpapertray” operator resets the image area to
  147. @Comment:    correspond to whatever tray is in the input slot selected.
  148. @DefaultInputSlot: "Deep"
  149. @InputSlot Deep: "statusdict begin 3 setpapertray end"
  150. @InputSlot Large: "statusdict begin 2 setpapertray end"
  151. @InputSlot Small: "statusdict begin 1 setpapertray end"
  152.  
  153. @DefaultOutputOrder: "facedown"
  154.  
  155. @ManualFeed: "none"
  156.  
  157. @Comment: When "findfont" fails to find the requested font, Courier is apparently 
  158. @Comment:    not substituted;  a PS error is generated instead.
  159. @DefaultFont: ""
  160. @Font "Times-Roman": "Standard" "(001.000)"
  161. @Font "Times-Bold": "Standard" "(001.000)"
  162. @Font "Times-Italic": "Standard" "(001.000)"
  163. @Font "Times-BoldItalic": "Standard" "(001.000)"
  164. @Font "Helvetica": "Standard" "(001.000)"
  165. @Font "Helvetica-Bold": "Standard" "(001.000)"
  166. @Font "Helvetica-Oblique": "Standard" "(001.000)"
  167. @Font "Helvetica-BoldOblique": "Standard" "(001.000)"
  168. @Font "Courier": "Standard" "(001.000)"
  169. @Font "Courier-Bold": "Standard" "(001.000)"
  170. @Font "Courier-Oblique": "Standard" "(001.000)"
  171. @Font "Courier-BoldOblique": "Standard" "(001.000)"
  172. @Font "Symbol": "Standard" "(001.000)"
  173. @Font "AvantGarde-Book": "Standard" "(001.000)"
  174. @Font "AvantGarde-BookOblique": "Standard" "(001.000)"
  175. @Font "AvantGarde-Demi": "Standard" "(001.000)"
  176. @Font "AvantGarde-DemiOblique": "Standard" "(001.000)"
  177. @Font "NewCenturySchlbk-Roman": "Standard" "(001.000)"
  178. @Font "NewCenturySchlbk-Italic": "Standard" "(001.000)"
  179. @Font "NewCenturySchlbk-Bold": "Standard" "(001.000)"
  180. @Font "NewCenturySchlbk-BoldItalic": "Standard" "(001.000)"
  181. @Font "LubalinGraph-Book": "Standard" "(001.000)"
  182. @Font "LubalinGraph-BookOblique": "Standard" "(001.000)"
  183. @Font "LubalinGraph-Demi": "Standard" "(001.000)"
  184. @Font "LubalinGraph-DemiOblique": "Standard" "(001.000)"
  185. @Font "Souvenir-Light": "Standard" "(001.000)"
  186. @Font "Souvenir-LightItalic": "Standard" "(001.000)"
  187. @Font "Souvenir-Demi": "Standard" "(001.000)"
  188. @Font "Souvenir-DemiItalic": "Standard" "(001.000)"
  189.  
  190.  
  191. @Comment: The order of occurrence determines the order of parsing; put general messages last.
  192. @Comment: PrinterWarning beeps and displays the translation string in the status line.
  193.  
  194. @PrinterWarning    "%%[ PrinterError: paper \where\ misfeed\lost\ ]%%"
  195.                 : "Printer “^2” needs attention: paper jam."
  196. @PrinterWarning    "%%[ PrinterError: \Reason\ ]%%"
  197.                 : "Printer “^2” needs attention: \Reason\."
  198.  
  199. @PrinterWarning    "\s\status: PrinterError: paper \where\ misfeed\lost\"
  200.                 : "Printer “^2” needs attention: paper jam."
  201. @PrinterWarning    "\s\status: PrinterError: \Reason\; source: \source\"
  202.                 : "Printer “^2” needs attention: \Reason\."
  203.  
  204. @ParameterReason    "out of paper" :         "out of paper"
  205. @ParameterReason    "warming up" :             "warming up"
  206. @ParameterReason    "timeout" :             "timeout"
  207. @ParameterReason    "paper exit jam" :        "paper exit jam"
  208. @ParameterReason    "poor fusing set" :        "fuser unit error or cover open"
  209. @ParameterReason    "tray cover open" :        "tray cover open or no paper tray"
  210. @ParameterReason    "poor developer set" :    "developer unit error or cover open"
  211. @ParameterReason    "paper transporter jam" :    "paper transporter jam"
  212.  
  213.  
  214. @Comment: PrinterMessage displays the translation string in the status line.
  215. @PrinterMessage     "job: \username\; document: \jobname\; status: \Status\; source: \source\"
  216.                 : "User: \username\;  document: \jobname\;  status: \Status\."
  217. @PrinterMessage     "job: \jobname\; status: \Status\; source: \source\"
  218.                 : "Document: \jobname\;  status: \Status\."
  219. @PrinterMessage     "status: \Status\; source: \source\"
  220.                 : "Status: \Status\."
  221. @PrinterMessage     "\Font1\ not found, using \Font2\"
  222.                 : "Font \Font1\ is not found on ^2, substituting \Font2\"
  223.  
  224. @ParameterStatus     "idle"    : "idle"
  225. @ParameterStatus     "busy"    : "processing job"
  226. @ParameterStatus     "waiting"    : "preparing data"
  227. @ParameterStatus    "printing"    : "printing"
  228. @ParameterStatus    "initializing" : "initializing"
  229.  
  230. @ParameterTray        "letter":    "Letter"
  231. @ParameterTray        "a4":         "A4"
  232.  
  233. @Comment: a null translation string causes no message to display.
  234. @PrinterMessage    "%%[ exitserver: permanent state may be changed ]%%"
  235.                 : ""
  236. @PrinterMessage    "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  237.                 : ""
  238.  
  239. @Comment: Parameter substitution of printer name for "^2" is not allowed in "...Alert" messages!
  240. @Comment: PrinterWarningAlert displays translation string in a warning-alert box and continues.
  241. @PrinterWarningAlert "A previous version PageMaker header is loaded."
  242.     : "Printer performance may improve if you do not print with PageMaker version 1.2 on this net."
  243.  
  244. @Comment: PrinterErrorAlert displays translation string in a stop-alert box and aborts printing.
  245. @PrinterErrorAlert    "%%[ Error: invalidfont; OffendingCommand: findfont ]%%"
  246.                 : "A requested font is not available on this printer. Use only PostScript fonts."
  247. @PrinterErrorAlert    "%%[ Error: rangecheck; OffendingCommand: \Tray\tray ]%%"
  248.                 : "Please place the \Tray\ paper tray in your printer, and print again."
  249. @PrinterErrorAlert    "%%[ Error: \fonterror\; OffendingCommand: fontdownload ]%%"
  250.                 : "The font being downloaded has not been initialized for this printer."
  251. @PrinterErrorAlert    "%%[ Error: VMerror; OffendingCommand: \operator\ ]%%"
  252.                 : "Printer memory exceeded; turn printer off and on, or print smaller sections of the document."
  253. @PrinterErrorAlert    "%%[ Error: timeout; OffendingCommand: \operator\ ]%%"
  254.                 : "The printer had to wait too long, and went on to the next job; try again."
  255. @PrinterErrorAlert    "%%[ Error: \error\; OffendingCommand: \operator\ ]%%"
  256.                 : "Cannot print due to PostScript error: “\error\,” in command: “\operator\.”"
  257. @PrinterErrorAlert    "Fatal system error \error\"
  258.                 : "The printer has encountered an error. Simplify your document or try again."
  259.  
  260.  
  261.  
  262.  
  263.  
  264.